package com.zhanglong.service;


import com.zhanglong.spring.ZhangLongApplicationContext;

public class Test {

    public static void main(String[] args) {

        ZhangLongApplicationContext zhangLongApplicationContext = new ZhangLongApplicationContext(AppConfig.class);

        UserInterface userService = (UserInterface) zhangLongApplicationContext.getBean("userService");
        userService.test();
    }
}
